package com.echronos.payment.commons.cpcn.util;

import com.echronos.payment.commons.ccb.util.CcbPayRequest;
import com.echronos.payment.commons.ccb.util.CcbResponse;

/**
 * 中金支付相关封装
 *
 * @Author wangyadong
 * @Date 2023-10-25 10:59
 * @ClassName CpcnClient
 */
public interface CpcnClient {
    /**
     * 中金支付发起请求
     *
     * @param request
     * @param <T>
     * @return
     */
    <T extends CpcnResponse> T execute(CpcnPayRequest<T> request);
}
